<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>molbuy</title>
<#include "common.ftl">
</head>
<body>
	<div class="wrapper1000">    
	    <#include "header.ftl">
        <#include "sitemap.ftl">        
        <div class="product_detailbox">
        	<div class="floatl">
            	<img src="${resourceRootUrl}${product.image}!200x200.jpg" width="200" height="200" />
            </div>
            <div class="floatl">
                <table>
                	<tr>
                    	<td><p class="title">${product.title?default("")}</p></td>
                    </tr>
                	<tr>
                    	<td><span class="price"><#if (product.lowestPrice)??>${product.lowestPrice?string("$,###0.00")}</#if></span> to <span class="price"><#if (product.highestPrice)??>${product.highestPrice?string("$,###0.00")}</#if></span> <#if (product.avgPrice)??>(Average price: <span class="blue0072c5">$${product.avgPrice?string("$,###0.00")}</span>)</#if> </td>
                    </tr>
                	<tr>
                    	<td>
                    	    <#if (product.summary?length gt 400)>
				              ${product.summary[0..400]?default("")} ...
				            <#else>
				              ${product.summary?default("")}
				            </#if>
				       </td>
                    </tr>
                </table>
            </div>
            <div class="clear"></div>
		</div>
        <!-- end:product_detailbox -->   
        
        <div class="top_retailers">
        	<div class="title"><span>Top Retailers</span></div>
            <p class="toolbar"> Calculate Tax & Shipping - <a href="#">Add Location</a> &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; Show Only: <input type="checkbox" />free shipping  </p>
            <div class="retailers_list">
                    <table>
                        <tr>
                            <th>DETAILS</th>
                            <th width="200">Retailer</th>
                            <th width="80">Base Price</th>
                            <th width="200">Promo / Tax & Shipping</th>
                            <th width="120">Price </th>
                        </tr>
                        <#list products as product>
	                        <tr>
	                            <td class="first">
	                                <div class="floatl"><a href="${base}/rd/${product.id}" target="_blank"><img src="${resourceRootUrl}${product.image}" width="75" height="75" /></a></div>
	                                <div class="floatl">
	                                    <p class="title"><a href="${base}/rd/${product.id}" target="_blank"><#if (product.title?length gt 20)>${product.title[0..20]?default("")}...<#else>${product.title}</#if></a></p>
	                                    <p class="discribe">
	                                     <#if (product.summary?length gt 50)>
				                            ${product.summary[0..50]?default("")} ...
				                         <#else>
				                            ${product.summary?default("")}				  
			                        	 </#if>
			                        	</p>
	                                </div>
	                                <div class="clear"></div>
	                            </td>
	                            <td><span class="shop">${product.source}</span></td>
	                            <td><#if (product.listPrice)??>${product.listPrice?string("$,###0.00")}</#if></td>
	                            <td><#if (product.freeShipping)><span class="gray999">FREE shipping</span></#if></td>
	                            <td>
	                            	<div class="price"><#if (product.price)??>${product.price?string("$,###0.00")}</#if></div>
									<a href="${base}/rd/${product.id}" target="_blank" class="btn_gotostore">Go To Store</a>
	                            </td>
	                        </tr>
                        </#list>
                    </table>   
                  </div>
                  <!-- end:retailer_list -->
                  <p class="toolbar"> Calculate Tax & Shipping - <a href="#">Add Location</a> &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; Show Only: <input type="checkbox" />free shipping </p>
          </div>
               <!-- end:top_retailers -->
    </div>
    <!--end:content-->
    <#include "footer.ftl">
    <!--end:footer-->    
</body>
</html>
